package com.yuq.sunrise.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author ：yuq
 * @date ：Created in 2019/6/1 22:15
 * @description：自定义配置类
 * @modified By：
 * @version: 1.0$
 */
@Component
public class YuqProperties {

    @Value("${sunrise.author}")
    private String author;

    @Value("${sunrise.description}")
    private String description;

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}